<?php

use Biz\Models\User\User;
use Biz\Services\User\UserMemberService;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Artisan;

class UserMemberSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run(UserMemberService $userMemberService)
    {
        $userMemberService->create([
            'site_id' => 1,
            'email' => '18899660030@123.com',
            'mobile' => '18899660030',
            'password' => '123456',
            'contact' => '客户1',
            'institution' => '浙江大学',
            'address' => '西湖区教工路88号'
        ]);

        $userMemberService->create([
            'site_id' => 1,
            'email' => '18899660031@123.com',
            'mobile' => '18899660031',
            'password' => '123456',
            'contact' => '客户2',
            'institution' => '浙江理工大学',
            'address' => '下沙bla bla'
        ]);

        $userMemberService->create([
            'site_id' => 1,
            'email' => '18899660032@123.com',
            'mobile' => '18899660032',
            'password' => '123456',
            'contact' => '客户3',
            'institution' => '浙江中医药大学',
            'address' => '滨江浦沿'
        ]);
    }
}
